package com.smartstate.IOC.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smartstate.IOC.dto.PageDTO;
import com.smartstate.IOC.entity.AssetSituation;
import com.smartstate.IOC.mapper.AssetSituationMapper;
import com.smartstate.IOC.service.AssetSituationService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AssetSituationServiceImpl extends ServiceImpl<AssetSituationMapper, AssetSituation> implements AssetSituationService {
    @Override
    public Page<AssetSituation> queryAllPageByDTO(PageDTO pageDTO) {
        return null;
    }


    @Override
    public List<AssetSituation> getAssetsByType(String type) {
        return baseMapper.getAssetSituationByType(type);
    }
}